//
//  Rectangle.m
//  窗口
//
//  Created by mac on 16-4-18.
//  Copyright (c) 2016年 lee. All rights reserved.
//

#import "Rectangle.h"

@implementation Rectangle
-(NSString*) description
{
    return self.name;
}
-(void) triangle{
    
    NSLog(@"钝角三角形");
}
-(void) scalene{
    NSLog(@"锐角三角形");
}


-(NSComparisonResult)compar:(Rectangle *)an{
    return [self.name compare:an.name];
}
@end
